﻿using System.ServiceModel;

namespace UtfprLibrary.Communication.Contracts {
    /// <summary>
    /// TODO
    /// </summary>
    [ServiceContract]
    public interface IPublishing {
        /// <summary>
        /// TODO
        /// </summary>
        /// <param name="message"></param>
        /// <param name="subject"></param>
        [OperationContract(IsOneWay = true)]
        void Publish(Message message, string subject);
    }
}
